﻿using System.Diagnostics;
using System.Runtime.Serialization;

namespace jbt.CodeCandy.AsTrEAM.Contracts
{
    /// <summary>
    /// Error related to service operations related to streams.
    /// </summary>
    [DebuggerDisplay("Message: {Message};")]
    [DataContract(Namespace = Settings.WCF.Namespage)]
    public class StreamFault
    {
        /// <summary>
        /// Gets or sets the text of error.
        /// </summary>
        [DataMember]
        public string Message
        {
            get;
            set;
        }
    }
}